You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade cpp_client_telemetry to 3.10.240.1 so public builds use the supported cross-platform backend by default while preserving explicit TraceLogging and no-telemetry modes.
Add Windows persistent device identity and retain the hashed platform adapter identity as a separate telemetry field. Propagate Apple system SQLite and zlib requirements through static package metadata.
Files changed: telemetry platform implementations; CMake and vcpkg dependency wiring; build arguments and tests; Windows pipeline defaults.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9e493808-b0e7-4c22-baa6-696ce165f920
Sample routine 1DS telemetry at 1%, remove redundant periodic events, and consolidate 1DS lifecycle pairs into duration-bearing completion events so projected growth remains within the ingestion budget.
Add a delayed, ORT-only DeviceCensus event that batches versions for each active UTC day and uploads the completed census on the next active day.
Files changed: telemetry interfaces and platform providers; session and EP-registration instrumentation; POSIX census persistence; sampling and census tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Emit DeviceCensus immediately when a DeviceId is created or repaired, and persist the emitted state so a later active day does not resend the same census.
Files changed: census state serialization; POSIX DeviceId persistence; ProcessInfo census trigger; census unit tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dd1605-0e50-4029-9ed7-44fdb27545d8
Parenthesize the vector comparison so EXPECT_EXIT does not interpret the initializer-list comma as another macro argument.
Files changed:
- onnxruntime/test/platform/posix/device_id_test.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dd1605-0e50-4029-9ed7-44fdb27545d8
Bind persisted census state to the transmitted device identity, including the 1DS mobile platform identity, and persist rollover state before emission to avoid duplicates. Advance census state from recurring inference activity and ensure malformed model loads and early initialization failures reach completion telemetry.
Files changed: device census persistence and parsing, POSIX telemetry scheduling, inference-session completion paths, and focused census tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep immediate census emissions pending until persistence succeeds and respect runtime telemetry disablement. Resolve census test paths through the platform storage helper so they work on macOS.
Files changed:
- onnxruntime/core/platform/posix/telemetry.cc
- onnxruntime/core/platform/posix/telemetry.h
- onnxruntime/test/platform/posix/device_id_test.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2f0ab518-b6d4-47f8-928f-dc214284a697
Keep 1DS identity and cache persistence available when LOCALAPPDATA is absent or invalid by checking roaming AppData and user-profile locations in order.
Files changed: Windows DeviceId storage selection, Windows telemetry test registration, and fallback-path tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 49b5981f-971c-4991-9060-da1c74378cd8
Stack the reduced-volume telemetry work from #32425 onto the Windows 1DS draft and use the same identity-bound, persist-before-emit census transition logic for registry-backed Windows state.
Files changed: shared census state handling and tests; POSIX telemetry sampling and completion events; Windows DeviceId census persistence; session telemetry lifecycle handling.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 49b5981f-971c-4991-9060-da1c74378cd8
Consolidate census state handling and fold inventory and duration data into existing telemetry calls so telemetry-disabled minimal builds do not retain extra virtual wrappers.
Files changed: telemetry providers and session call sites; shared census state and platform device IDs; telemetry unit-test registration and coverage.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c1532bdc-a17f-4d16-8468-4b3aa947ce4b
Preserve the intended telemetry backends while fixing the Android and warnings-as-errors build failures.
- expose the Android 1DS bridge header only to onnxruntime_common
- retain an updated mbedTLS-only vcpkg overlay and remove unrelated manifest churn
- select TraceLogging when CI provides its private telemetry GUID
- avoid shadowing the ORT model-load status
Files: cmake/external/onnxruntime_external_deps.cmake, cmake/onnxruntime_common.cmake, cmake/vcpkg-configuration.json, cmake/vcpkg.json, cmake/vcpkg-ports/cpp-client-telemetry/portfile.cmake, cmake/vcpkg-ports/cpp-client-telemetry/vcpkg.json, onnxruntime/core/session/inference_session.cc, tools/ci_build/github/windows/set_telemetry_var.ps1
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Make Android's FetchContent fallback explicitly use bundled zlib even under a vcpkg toolchain, and keep the WindowsEnv layout independent of target-private telemetry macros.
Files: cmake/external/onnxruntime_external_deps.cmake, onnxruntime/core/platform/windows/env.h, onnxruntime/core/platform/windows/env.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 18d20bc2-fee6-431a-b940-b1184677fa48
Avoid Network List Manager initialization because netprofm.dll retains an allocation at process exit under Application Verifier.
Files changed:
- onnxruntime/core/platform/posix/telemetry.cc: disable the Windows 1DS network detector before log manager creation.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 90d1ead3-317b-47ff-bae3-e516f413e980
Preserve the current telemetry volume behavior while enabling Windows 1DS by default, repairing invalid registry device IDs, validating legacy backend targets, and covering Windows integration paths.
Files changed: telemetry CMake and vcpkg integration; POSIX and Windows telemetry/device ID implementations; Windows telemetry tests; build argument and CI telemetry selection.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b7025dd7-76ed-481f-a1cd-8c9b3842c33b
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🟡 Changes recommended
The current implementation has class-layout mismatches, unsampled process telemetry, incorrect ARM64EC reporting, and no described daily DeviceCensus implementation.
Get a fresh assessment by requesting another Copilot review.
Propagate backend definitions to consumers so WindowsEnv has one layout, report manifest-independent Windows versions, and classify ARM64EC correctly.
Files changed: cmake/onnxruntime_common.cmake; onnxruntime/core/platform/posix/telemetry.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b7025dd7-76ed-481f-a1cd-8c9b3842c33b
These A APIs cannot represent an environment path containing characters outside the active ANSI code page. For example, a Unicode user profile can turn %LOCALAPPDATA% into a path containing ?, so EnsureStorageDirectory() creates the wrong location or disables the 1DS offline cache. Read the variables with GetEnvironmentVariableW and keep the path wide (or explicitly UTF-8 via u8path) through directory creation.
Updated
[Microsoft.ML.OnnxRuntime](https://github.com/Microsoft/onnxruntime)
from 1.30.0 to 1.31.0.
<details>
<summary>Release notes</summary>
_Sourced from [Microsoft.ML.OnnxRuntime's
releases](https://github.com/Microsoft/onnxruntime/releases)._
## 1.31.0
ONNX Runtime 1.31.0 stabilizes model-package and EPContext data APIs,
improves CPU model loading and quantized MoE inference, expands
device-based execution-provider selection, and strengthens model-loading
and runtime reliability. These notes cover changes since ONNX Runtime
1.30.0. CUDA and WebGPU kernel updates are summarized here; detailed
provider notes are covered by their separate plugin EP releases.
## Highlights
- Promoted the model-package API and EPContext data callbacks to stable
C and C++ APIs, with EPContext callback support added across language
bindings
([#33166](microsoft/onnxruntime#33166),
[#32265](microsoft/onnxruntime#32265)).
- Reduced CPU session-initialization overhead by parallelizing eligible
weight prepacking, and accelerated block-wise INT4/INT8 QMoE experts
with MLAS QNBit kernels and grouped expert dispatch
([#31691](microsoft/onnxruntime#31691),
[#32644](microsoft/onnxruntime#32644),
[#32668](microsoft/onnxruntime#32668)).
- Added x86 FP16 LayerNorm/RMSNorm acceleration, Arm KleidiAI SVE2.1
FP16 GEMM support, and additional RISC-V vector kernels
([#32715](microsoft/onnxruntime#32715),
[#32670](microsoft/onnxruntime#32670),
[#32710](microsoft/onnxruntime#32710)).
- Enabled CoreML participation in device-based EP selection, including
Apple Neural Engine selection through `PREFER_NPU`
([#31975](microsoft/onnxruntime#31975)).
- Added workspace-memory accounting and verification for
constrained-memory graph partitioning, alongside broader model, graph,
and tensor validation
([#31962](microsoft/onnxruntime#31962),
[#32189](microsoft/onnxruntime#32189)).
## Announcements & Compatibility
- [CUDA Plugin EP
v0.3.0](https://github.com/microsoft/onnxruntime/releases/tag/plugin-ep-cuda/v0.3.0)
and WebGPU Plugin EP v0.5.0 are matched with ONNX Runtime 1.31.0. For
**contrib-op compatibility**, core and the plugin must use the same
contributed-operator schemas; building both from the **same ONNX Runtime
revision** is recommended. Schema mismatches can cause incorrect
execution or crashes and may not be detected during plugin registration.
- **`GatherBlockQuantized` behavior change:** out-of-range indices now
produce zero output slices across CPU, CUDA, and WebGPU for both integer
and floating-point quantized formats. This deliberately differs from
ONNX `Gather` error semantics
([#32480](microsoft/onnxruntime#32480)).
- **Experimental API migration:** model-package consumers should use
`OrtApi::GetModelPackageApi` and the stable `OrtModelPackageApi` table.
EPContext callback registration now uses stable APIs; the corresponding
experimental lookup entries were removed. The stable native callback
contract carries callback/state pointers, with payload limits enforced
by application callbacks, bindings, or EPs rather than a native
read-options policy
([#33166](microsoft/onnxruntime#33166),
[#32265](microsoft/onnxruntime#32265)).
- **ACL EP is deprecated** and will be removed in a future release.
Source builds using `--use_acl` now receive a deprecation warning
([#32564](microsoft/onnxruntime#32564)).
- The ONNX dependency remains at **1.22.0**. The initial ONNX 1.23
integration was reverted pending upstream fixes; this release does not
ship that integration's new opset or FLOAT6 support
([#33073](microsoft/onnxruntime#33073)).
- Supported native builds now default to **1DS telemetry**. Windows
TraceLogging remains selectable with `--use_windows_telemetry` or
`onnxruntime_USE_WINDOWS_TELEMETRY=ON`; telemetry can be disabled with
`--no_telemetry`
([#32384](microsoft/onnxruntime#32384)).
## New Features
### Core APIs & Runtime
- Stabilized the model-package C and C++ APIs for loading packages,
selecting compatible model variants, and creating sessions
([#33166](microsoft/onnxruntime#33166)).
- Stabilized named EPContext data read/write callbacks for
application-managed storage. Added EP support negotiation so registered
callbacks do not silently fall back to filesystem I/O
([#32265](microsoft/onnxruntime#32265)).
- Extended the Compile API to write external initializers and EP context
data to buffers, enabling in-memory compilation workflows for models
larger than 2 GB
([#31347](microsoft/onnxruntime#31347)).
- Added workspace-memory accounting, source reporting, and
post-partition reservation verification. Set
`session.strict_workspace_verification=1` to fail initialization on
workspace declaration overruns or nonzero orphaned reservations; strict
verification is not supported for ORT-format model loads
([#31962](microsoft/onnxruntime#31962),
[#32189](microsoft/onnxruntime#32189)).
- Added the opt-in source-build option
`onnxruntime_DISABLE_DEVICE_DISCOVERY=ON` to skip platform accelerator
probing and report only the CPU device
([#32592](microsoft/onnxruntime#32592)).
### Shared Contrib Operators
These updates affect core operator schemas and cross-provider behavior,
not only the separately released GPU plugins.
- Extended `EngramGate` and `NGramHashMapping` for Qwen4-Exp, and added
`VarlenNGramHashMapping` for packed DeepSeek Engram batching with
request-local history. Packed hashing also supports Qwen4-Exp head
offsets, EOS resets, and segment boundaries
([#32285](microsoft/onnxruntime#32285),
[#32358](microsoft/onnxruntime#32358),
[#32467](microsoft/onnxruntime#32467)).
- Added the `activation` attribute to `GatedRMSNorm` for SiLU, its Swish
alias, and Sigmoid gating across CPU, CUDA, and WebGPU. SiLU remains the
default
([#32512](microsoft/onnxruntime#32512)).
- Added weightless hyper-connection operators `BranchwiseRMSNorm`,
`ScaledSiLU`, `HyperConnectionPreMix`, and `HyperConnectionPostMix`,
with CPU, CUDA, and WebGPU implementations
([#32687](microsoft/onnxruntime#32687)).
- Extended `GatherBlockQuantized` to FP8/FP4 data, full-axis blocks, and
scale broadcasting, and improved CPU UINT8 dequantization. See the
out-of-range-index behavior change above
([#32480](microsoft/onnxruntime#32480),
[#32621](microsoft/onnxruntime#32621)).
### Plugin Execution Provider Infrastructure
- Added support for statically linked plugin EPs, with a static WebGPU
plugin build configuration
([#32395](microsoft/onnxruntime#32395)).
- Preserved caller streams in single-tensor plugin data transfers and
handled null plugin allocator returns
([#32666](microsoft/onnxruntime#32666),
[#32683](microsoft/onnxruntime#32683)).
- Deduplicated AutoEP custom-op domains and corrected EP assignment
reporting after NHWC layout transformation
([#32711](microsoft/onnxruntime#32711),
[#33184](microsoft/onnxruntime#33184)).
- Added reference guidance for compiled-model compatibility validation,
including multi-device scenarios
([#29168](microsoft/onnxruntime#29168)).
## Execution Provider Updates
### CUDA EP
CUDA updates include sparse attention and packed continuous batching,
expanded paged speculative decoding, INT2 and mixed-width QMoE
execution, opt-in MatMul auto-tuning, improved MXFP4 support on
Blackwell consumer GPUs, and reliability fixes.
... (truncated)
Commits viewable in [compare
view](microsoft/onnxruntime@v1.30.0...v1.31.0).
</details>
Updated
[Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore)
from 10.2.3 to 10.3.0.
<details>
<summary>Release notes</summary>
_Sourced from [Swashbuckle.AspNetCore's
releases](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)._
## 10.3.0
## What's Changed
* Change nullability handling for schemas with `anyOf`, `allOf`, `oneOf`
or `type = null` by @ldeluigi in
domaindrivendev/Swashbuckle.AspNetCore#3976
* Handle leading slash on route prefix during index.html GET by
@superstator in
domaindrivendev/Swashbuckle.AspNetCore#4084
* Move NRT handling to DataContractResolver by @desjoerd in
domaindrivendev/Swashbuckle.AspNetCore#3998
* Clarify nullable behaviour by @martincostello in
domaindrivendev/Swashbuckle.AspNetCore#4094
* Fix review issues for caching and encoding by @martincostello in
domaindrivendev/Swashbuckle.AspNetCore#4093
* Support multiple response types per status code by @DeagleGross in
domaindrivendev/Swashbuckle.AspNetCore#4100
* Add coverage for `AddServer` across multiple documents by
@RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4115
* Fix Swagger sort key fallback for empty endpoint tags metadata by
@AleksaMCode in
domaindrivendev/Swashbuckle.AspNetCore#4125
* Fix parameter matching to consider location when names collide by
@nonsoikem in
domaindrivendev/Swashbuckle.AspNetCore#4126
* Emit form encoding for properties of a complex form parameter by
@RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4128
* Keep a property's own summary when comments come from several XML
files by @RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4129
* Strip query string from relative document URLs in Swagger UI by
@GabeSilvaDev in
domaindrivendev/Swashbuckle.AspNetCore#4152
* Document that System.Text.Json ignores `[EnumMember]` by
@RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4127
* Drop the regex route constraint from the default Swagger route by
@RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4130
* Serialize custom values in the UI `ConfigObject.AdditionalItems` by
@RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4132
* Use Minimal APIs JSON options when MVC is not registered by
@RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4116
* Resolve enum contracts against the underlying type under source
generation by @RaphaelFakhri in
domaindrivendev/Swashbuckle.AspNetCore#4131
## New Contributors
* @ldeluigi made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#3976
* @superstator made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#4084
* @desjoerd made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#3998
* @RaphaelFakhri made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#4115
* @AleksaMCode made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#4125
* @nonsoikem made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#4126
* @GabeSilvaDev made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#4152
* @JulianThoms made their first contribution in
domaindrivendev/Swashbuckle.AspNetCore#4182
**Full Changelog**:
domaindrivendev/Swashbuckle.AspNetCore@v10.2.3...v10.3.0
Commits viewable in [compare
view](domaindrivendev/Swashbuckle.AspNetCore@v10.2.3...v10.3.0).
</details>
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR merges the current
maintelemetry-volume behavior and adds the Windows 1DS port:ProcessInfoevent unsampled--use_windows_telemetry/onnxruntime_USE_WINDOWS_TELEMETRY=ONLOCALAPPDATAtoAPPDATA,HOME,USERPROFILE, thenHOMEDRIVE+HOMEPATHfor Windows cache storageBackend selection
--use_windows_telemetry--no_telemetry-Donnxruntime_USE_TELEMETRY=ON-Donnxruntime_USE_WINDOWS_TELEMETRY=ONValidation
onnxruntime_test_allwith default Windows 1DS telemetryonnxruntime_test_allwith explicit Windows TraceLoggingonnxruntime_commonproduction targetpython -m unittest tools.ci_build.test_build_args(10 tests)